package com.asia5b.a5mall.middleware.logic.viewmodel.member

import androidx.lifecycle.MutableLiveData
import com.asia5b.a5mall.middleware.base.SimpleViewModel
import com.asia5b.a5mall.middleware.config.CountrysRepository
import com.asia5b.a5mall.middleware.model.member.CountryModel

class SelectPhoneCodeDFVM :SimpleViewModel() {

    val loadPhoneCodeListLiveData=MutableLiveData<ArrayList<CountryModel>>()
    fun loadPhoneCodeList() {
        CountrysRepository.anyCallback<ArrayList<CountryModel>>({
//            providerView().renderRegion(it)
            loadPhoneCodeListLiveData.value=it
        }, CountrysRepository.country)
    }
}